package com.freud.logic.business.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.freud.logic.business.bean.Good;

/**
 * 
 * @author Freud
 */
public interface GoodMapper {

	public List<Good> getAll(RowBounds rb, @Param("name") String name, @Param("repositoryId") Integer repositoryId);

	public Good get(@Param("id") Integer id);

	public void insert(Good good);

	public void update(Good good);

	public void delete(@Param("id") Integer id, @Param("repositoryId") Integer repositoryId);

}
